package com.teradyne.merlin2.ui.client.providers;

import com.google.gwt.place.shared.PlaceController;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.teradyne.merlin2.ui.client.activities.QuoteMenuActivity;
import com.teradyne.merlin2.ui.client.views.QuoteMenuView;

public class QuoteMenuActivityProvider implements Provider<QuoteMenuActivity> {
  private final QuoteMenuView view;
  private final PlaceController placeController;

  @Inject
  public QuoteMenuActivityProvider(QuoteMenuView view, PlaceController placeController) {
    this.view = view;
    this.placeController = placeController;
  }

  @Override
  public QuoteMenuActivity get() {
    return new QuoteMenuActivity(view, placeController);
  }
}
